package cn.doitedu.flinkapi.commons;

public class DetectorTemp {
    private String detectorId;
    private long timeStamp;
    private double temperature;
    private double wet;

    public DetectorTemp() {
    }

    public DetectorTemp(String detectorId, long timeStamp, double temperature, double wet) {
        this.detectorId = detectorId;
        this.timeStamp = timeStamp;
        this.temperature = temperature;
        this.wet = wet;
    }


    public String getDetectorId() {
        return detectorId;
    }

    public void setDetectorId(String detectorId) {
        this.detectorId = detectorId;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public double getTemperature() {
        return temperature;
    }

    public void setTemperature(double temperature) {
        this.temperature = temperature;
    }

    public double getWet() {
        return wet;
    }

    public void setWet(double wet) {
        this.wet = wet;
    }

    @Override
    public String toString() {
        return "DetectorTemp{" +
                "detectorId='" + detectorId + '\'' +
                ", timeStamp=" + timeStamp +
                ", temperature=" + temperature +
                ", wet=" + wet +
                '}';
    }
}
